mobileCameraFeatures
Type
function
Summary
Returns the capabilities of the devices camera(s)
Syntax
mobileCameraFeatures( [ <camera> ] )
Description
Use mobileCameraFeatures to find out what camera capabilities the device has.
At this time, Android can only detect whether there are front and/or back cameras and whether they can take photos.
Parameters
Name | Type | Description |
---|---|---|
camera | enum |
Examples
put mobileCameraFeatures(tCamera) into tFeatures
put mobileCameraFeatures("rear") into tFeatures
Related
command: mobileExportImageToAlbum, mobilePickPhoto
Compatibility and Support
Introduced
LiveCode 4.6
OS
ios
android
Platforms
mobile